package com.woniuxy.relation.infra.dao.model;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author huanglei
 * @since 2022-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AccountRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关注账号id
     */
    private Integer focusonAccountId;

    /**
     * 被关注账号id
     */
    private Integer followedAccountId;

    /**
     * 关注时间
     */
    private LocalDateTime focusOnTime;

    /**
     * 取消关注时间
     */
    private LocalDateTime cancelFocusTime;

    /**
     * 关注状态(0:已关注 1:已取消)
     */
    private Integer focusOnState;


}
